import axios from '../axios.js';

const prefix = "/api/console";

const lotterydraw_statistical = '/lotterydraw/statistical';
const lotterydraw_statistical_chance = '/lotterydraw/statistical_chance';
const lotterydraw_winning_detail = '/lotterydraw/winning_detail';

let drawApi = {
    getLotterydrawStatistical({intro}) {
        return axios.get(prefix + lotterydraw_statistical,{intro});
    },
    getLotterydrawStatisticalChance({intro}) {
        return axios.get(prefix + lotterydraw_statistical_chance,{intro});
    },
    getLotterydrawStatisticalChance({intro}) {
        return axios.get(prefix + lotterydraw_winning_detail,{intro});
    },
}
export default drawApi;